package com.wjf.shortlink.shortlink.dao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.wjf.shortlink.shortlink.common.database.BaseDAO;
import lombok.*;

import java.util.Date;

// 短链接基础访问监控
@EqualsAndHashCode(callSuper = true)
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("link_access_stats")
public class LinkAccessStatsDAO extends BaseDAO {
    //id
    private Long id;
    //完整短链接
    private String fullShortUrl;
    //日期
    private Date date;
    //访问量
    private Integer pv;
    //独立访客数
    private Integer uv;
    //独立ip数
    private Integer uip;
    //小时
    private Integer hour;
    //星期
    private Integer weekday;
}
